Total Complexity | 29 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 192 |
Lines of code | 96 |
Logical lines of code | 57 |
Comment lines | 69 |
Methods | 8 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
hide_pos_only_products() | 58 | 7 | 14 | |
save_decimal_quantities() | 56 | 5 | 18 | |
__construct() | 56 | 4 | 17 | |
hide_pos_only_variations() | 64 | 5 | 10 | |
store_api_prevent_pos_only_add_to_cart() | 60 | 3 | 14 | |
prevent_pos_only_add_to_cart() | 65 | 3 | 9 | |
product_set_stock() | 64 | 1 | 11 | |
filter_category_count_exclude_pos_only() | 82 | 1 | 3 |